package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.TblAdvertiseMarketAccount;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 广告营销账户信息表 Mapper 接口
 * @author xiaochuan
 * @since 2021-01-27
 */
public interface TblAdvertiseMarketAccountMapper extends BaseMapper {

    /**
     * 批量新增
     *
     * @param list
     */
    public void batchAdd(List<TblAdvertiseMarketAccount> list);

    /**
     * 获取合计
     *
     * @param params 请求参数
     * @return
     */
    public TblAdvertiseMarketAccount getFoot(@Param("params") Map<String, Object> params);

    /**
     * 根据NC店铺编码获取账号
     *
     * @param ncShopNo
     * @return
     */
    public TblAdvertiseMarketAccount getByNcShopNo(@Param("ncShopNo") String ncShopNo);
}

